home *** CD-ROM | disk | FTP | other *** search
- <!--- This example shows how to use RJustify --->
- <CFPARAM name="jstring" default="">
-
- <CFIF IsDefined("form.justifyString")>
- <CFSET jstring = Rjustify(form.justifyString, 35)>
- </CFIF>
- <HTML>
- <HEAD>
- <TITLE>
- RJustify Example
- </TITLE>
- </HEAD>
-
- <BASEFONT FACE="Arial, Helvetica" SIZE=2>
- <BODY bgcolor="#FFFFD5">
- <H3>RJustify Function</H3>
-
- <P>Enter a string, and it will be right justified within
- the sample field
-
- <FORM ACTION="rjustify.cfm" METHOD="POST">
- <P><INPUT TYPE="Text" VALUE="<CFOUTPUT>#jString#</CFOUTPUT>" SIZE=35 NAME="justifyString">
-
- <P><INPUT TYPE="Submit" NAME=""> <INPUT TYPE="RESET">
- </FORM>
-
- </BODY>
- </HTML>
-
-